package com.bst.bsj.common.dal.dataobject;

import com.sylinxsoft.tools.BaseDO;
import com.sylinxsoft.tools.annotation.BoConfig;
import com.sylinxsoft.tools.annotation.BoFieldConfig;
/**
 * 苗木仓库，苗仓
 * 
 * @author han 2016年3月18日 下午1:38:03
 *
 */
@BoConfig(tableName = "t_sys_seedling_warehouse")
public class SeedlingWareHouse extends BaseDO {

	/**
	 * 所属公司
	 */
	@BoFieldConfig(columnName = "company_number")
	private String	companyNumber;

	/**
	 * 所属用户
	 */
	@BoFieldConfig(columnName = "uid")
	private String	uid;

	/**
	 * 苗仓唯一标识
	 */
	@BoFieldConfig(columnName = "number")
	//@PrimaryKey
	private String	number;

	/**
	 * 苗仓名称
	 */
	@BoFieldConfig(columnName = "name")
	private String	name;

	/**
	 * 总计苗木数量
	 */
	@BoFieldConfig(columnName = "total_seedling_inventory",defaultValue = "0")
	private Integer	totalSeedlingInventory;

	/**
	 * 在售苗木数
	 */
	@BoFieldConfig(columnName = "onsale_seedling_qty",defaultValue = "0")
	private Integer	onSaleSeedlingQty;

	/**
	 * 总面积，单位亩
	 */
	@BoFieldConfig(columnName = "area")
	private Integer	area;

	/**
	 * 主营产品
	 */
	@BoFieldConfig(columnName = "main_product")
	private String	mainProduct;

	/**
	 * 联系人
	 */
	@BoFieldConfig(columnName = "contacts")
	private String	contacts;

	/**
	 * 联系电话
	 */
	@BoFieldConfig(columnName = "contacts_phone")
	private String	contactsPhone;

	/**
	 * 状态
	 */
	@BoFieldConfig(columnName = "status")
	private String	status;

	/**
	 * 经度
	 */
	@BoFieldConfig(columnName = "longitude")
	private String	longitude;

	/**
	 * 纬度
	 */
	@BoFieldConfig(columnName = "latitude")
	private String	latitude;

	/**
	 * 编码
	 */
	@BoFieldConfig(columnName = "province_number")
	private String	provinceNumber;
	/**
	 * 具体位置-省份
	 */
	@BoFieldConfig(columnName = "province_name")
	private String	provinceName;

	/**
	 * 具体位置-城市编码
	 */
	@BoFieldConfig(columnName = "city_number")
	private String	cityNumber;

	/**
	 * 具体位置-城市
	 */
	@BoFieldConfig(columnName = "city_name")
	private String	cityName;

	/**
	 * 具体位置-区域编码
	 */
	@BoFieldConfig(columnName = "city_area_number")
	private String	cityAreaNumber;

	/**
	 * 具体位置-区域
	 */
	@BoFieldConfig(columnName = "city_area_name")
	private String	cityAreaName;

	/**
	 * 具体位置
	 */
	@BoFieldConfig(columnName = "details_address")
	private String	detailsAddress;

	/**
	 * logo
	 */
	@BoFieldConfig(columnName = "logo")
	private String	logo;

	/**
	 * 是否已分配管理
	 */
	@BoFieldConfig(columnName = "is_be_managed",defaultValue = "0")
	private Boolean	isBeManaged;

	/**
	 * 管理者UID
	 */
	@BoFieldConfig(columnName = "managed_uid")
	private String	managedUid;

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getCompanyNumber() {
		return companyNumber;
	}

	public void setCompanyNumber(String companyNumber) {
		this.companyNumber = companyNumber;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getTotalSeedlingInventory() {
		return totalSeedlingInventory;
	}

	public void setTotalSeedlingInventory(Integer totalSeedlingInventory) {
		this.totalSeedlingInventory = totalSeedlingInventory;
	}

	public Integer getArea() {
		return area;
	}

	public void setArea(Integer area) {
		this.area = area;
	}

	public String getMainProduct() {
		return mainProduct;
	}

	public void setMainProduct(String mainProduct) {
		this.mainProduct = mainProduct;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getContactsPhone() {
		return contactsPhone;
	}

	public void setContactsPhone(String contactsPhone) {
		this.contactsPhone = contactsPhone;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getProvinceNumber() {
		return provinceNumber;
	}

	public void setProvinceNumber(String provinceNumber) {
		this.provinceNumber = provinceNumber;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityNumber() {
		return cityNumber;
	}

	public void setCityNumber(String cityNumber) {
		this.cityNumber = cityNumber;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getCityAreaNumber() {
		return cityAreaNumber;
	}

	public void setCityAreaNumber(String cityAreaNumber) {
		this.cityAreaNumber = cityAreaNumber;
	}

	public String getCityAreaName() {
		return cityAreaName;
	}

	public void setCityAreaName(String cityAreaName) {
		this.cityAreaName = cityAreaName;
	}

	public String getDetailsAddress() {
		return detailsAddress;
	}

	public void setDetailsAddress(String detailsAddress) {
		this.detailsAddress = detailsAddress;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public Integer getOnSaleSeedlingQty() {
		return onSaleSeedlingQty;
	}

	public void setOnSaleSeedlingQty(Integer onSaleSeedlingQty) {
		this.onSaleSeedlingQty = onSaleSeedlingQty;
	}

	public Boolean getIsBeManaged() {
		return isBeManaged;
	}

	public void setIsBeManaged(Boolean isBeManaged) {
		this.isBeManaged = isBeManaged;
	}

	public String getManagedUid() {
		return managedUid;
	}

	public void setManagedUid(String managedUid) {
		this.managedUid = managedUid;
	}

}
